package com.woniuxy.mapper;

import com.woniuxy.entity.Housing;

import java.util.List;

public interface HousingMapper {
    List<Housing> queryHouse();

    void updateHouseState(Housing housing);

    List<Housing> queryHouses(Housing housing);

    void addHouse(Housing housing);

    boolean batchDelHouse(List<Integer> ids);

    Housing queryHouseById(Integer id);

    void saveUpdateHouse(Housing housing);

    void delHouse(Integer id);
}
